<template>

    <el-tabs type="border-card">
        <el-tab-pane label="发放历史">
            <el-table show-summary v-loading="loading" :data="logList" @selection-change="handleSelectionChange">
                <el-table-column label="序号" type="index" width="100" align="center" />
                <el-table-column label="销售负责人" align="center" prop="personName" />
                <el-table-column label="个人总绩效" align="center" prop="personTotalt" />
                <el-table-column label="个人本次发放" align="center" prop="personCurrent" />
                <el-table-column label="个人剩余" align="center" prop="personWait" />
                <el-table-column label="部门总绩效" align="center" prop="deptTotalt" />
                <el-table-column label="部门本次发放" align="center" prop="deptCurrent" />
                <el-table-column label="部门剩余" align="center" prop="deptWait" />
                <el-table-column label="发放时间" align="center" prop="startDate" width="180">
                    <template #default="scope">
                        <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}:{s}") }}</span>
                    </template>
                </el-table-column>
            </el-table>
        </el-tab-pane>
        <el-tab-pane label="Config">Config</el-tab-pane>

    </el-tabs>
</template>

<script setup>
import { listCompany, listAccountingCustomer, getTotalCostByDate } from "@/api/project/project";
import { listCustomer, getCustomer, delCustomer, addCustomer, updateCustomer, auditCustomer, listCustomerSale, updateSubAmount, updateIssueMoney } from "@/api/project/customer";
import { ElLoading } from 'element-plus'
import { viewCostPermisson } from "@/api/project/sale";
import { listAllUser, getUser, getPosts } from "@/api/system/user";
import useUserStore from '@/store/modules/user'
import { listFee, delFee, addFee, updateFee, totalFeeByDate, getReceiveAndPayForCustomer } from "@/api/project/fee";
import { listPay, listImplement, getTotalCost, getPay, delPay, addPay, updatePay, listPhase, getPhase, delPhase, addPhase, updatePhase, listAccounting, updateNewInfo, getAccounting, delAccounting, addAccounting, updateAccounting, updateAudit } from "@/api/project/project";
import { listLog, getLog, delLog, addLog, updateLog } from "@/api/project/log";

const { proxy } = getCurrentInstance();
const logList = ref([])



</script>